package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.User;
import com.hziee.graduate.ticket.vo.UserVO;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;


public interface UserService extends IService<User> {

    R<UserVO> login(HttpSession session, String phone, String password);

    R<List<UserVO>> getUserVO();

    R<UserVO> addCinemaManager(Map<String, Object> map);

    R<UserVO> delCinemaManager(Map<String, Object> map);

    R<UserVO> editCinemaManager(Map<String, Object> map);

    R<Object> addBuyer(Map<String, Object> map);
}

